import request from '@/utils/request' // 引入axios的封装方法
import cfg from '@/config/config'

const reserveDaysConfigApi = {
  // 获取登陆人列表
  getAccountList: param => {
    return request('post', cfg.apiUrl + 'api/visitorDayConfiguration/getVisitorDayConfigurationList', param)
  },
  // 用户添加 修改
  addOrUpdateUser: param => {
    return request('post', cfg.apiUrl + 'api/visitorDayConfiguration/saveBdVisitorConfiguringAccessDays', param)
  },
  // 删除用户
  deleteAccount: param => {
    return request('post', cfg.apiUrl + 'api/visitorDayConfiguration/deleteBdVisitorConfiguringAccessDays', param)
  },

}
export default reserveDaysConfigApi
